﻿@model IEnumerable<RedSand.Site.Models.ProductInfo>
@if (Model != null)
{
    <div class="product-related product-list">
        <h3 class="product-related-title">
            Sản phẩm liên quan</h3>
        <div style="margin: 10px 0">
            <ul>
                @foreach (var item in Model)
                {
                    <li>
                        <a href="/product/details/@item.ProductID/@RedSand.Site.UrlUtils.parseUrlStringParam(item.Name)">
                            <img src="@RedSand.Site.GlobalClass.GetImageUrl(item.Image)" alt=""/>
                            <span>@item.Name</span> 
                        </a>
                    </li>
                }
            </ul>
            <div class="clr"></div>
        </div>
    </div>
}
